package cn.edu.lsu.integratedsurvey.bean.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class GetHistoryDto {
    @ApiModelProperty("学生学号")
    private String studentNumber;
    @ApiModelProperty("类型")
    private Integer type;
    @ApiModelProperty("当前页数")
    private Integer pageNumber;
    @ApiModelProperty("每页大小")
    private Integer pageSize;
    @ApiModelProperty("学期开始时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
    private LocalDate startDate;
    @ApiModelProperty("学期结束时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
    private LocalDate endDate;
}
